<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.zmx.holiday.user.model.*"%>
<%String menu="3"; %>
<%@ include file="/head.jsp" %>
<div id="main">
		<div id="main_banner"></div>
		<div id="left">
			<div class="list-top">&nbsp;</div>
				<ul class="service-list">
					<li><a href="/registry/home_registry.jsp">注册店铺</a></li>
					<li><a href="/reg/homeSelect.action?userID=<%=userID %>">注册客房</a></li>
					<li><a href="/inte/homeManagerList.action?userID=<%=userID %>">店铺维护</a></li>
					<li><a href="/inte/roomManagerList.action?userID=<%=userID %>">客房维护</a></li>
				</ul>
				<div class="list-top yellow">&nbsp;</div>
				<ul class="service-list yellow">
					<li><a href="/inte/photoShow.action?roomID=<s:property value='roomID'/>">客房图片管理</a></li>
					<li><a href="/reg/roomUpdateShow.action?roomID=<s:property value='roomID'/>">修改客房信息</a></li>
				</ul>
			</div>
			<div id="reg_right">
				<div class="title"><h3>客房图片管理</h3></div>
				<s:form action="photoUpdate" id="x" namespace="/inte" validate="true" theme="simple" method="post"  enctype="multipart/form-data">
				<script type="text/javascript">
				function check(var value){
					alert("okl");
				}
				</script>
				<div class="info-words bottom">
					<s:iterator value="photo" status="index">
					<div class="photo_manager">
						<a href="/picture/roomPic/<s:property/>" rel="clearbox[test1]"><img class="photo1" src="/picture/roomPic/<s:property/>"/></a>
						<span class="check"><a href="javascript:check(<s:property/>);">[删除图片]</a></span>
					</div>
					</s:iterator>
					<!-- 
					<div class="caozuo">
						<a href="javascript:check()">删除所选图片</a>
						<a href="#">上传新的图片</a>
					</div>
					 -->
				</div>
				</s:form>
				<div id="uploda">
					<div class="title"><h3>上传新的客房图片</h3></div>
					<div class="info-words bottom" style="text-align:center;">
						<s:form action="photoUpload" namespace="/inte" validate="true" theme="simple" method="post"  enctype="multipart/form-data">
						<p style="padding:5px 0px;color:#666;">请选择上传的图片，单张图片大小不能超过100K</p>
						<input type="file" />
						<div class="caozuo">
							<a href="javascript:photoUpload.submit();">立即上传</a>
							<a href="javascript:photoUpload.reset();">重新选择</a>
						</div>
						</s:form>
					</div>
				</div>
			</div>
		</div>	
		<%@ include file="/integration/list_right.jsp" %>
</div>
<%@ include file="/foot.jsp" %>